﻿using System.Windows.Controls;
using System.Windows.Input;
using jSLApp.Client.ApplicationBase;
using jSLApp.Client.MainService;

namespace jSLApp.Client.Controls
{
    public partial class FilmScreen : UserControl
    {
        public FilmScreen()
        {
            InitializeComponent();
        }

        private void goFilm_Clicked(object sender, MouseButtonEventArgs e)
        {
            var film = (Film)DataContext;

            MainContentContainer.Current.ShowFilm(film.id);
        }
    }
}
